export default function (sequelize, DataTypes) {
  const Ips = sequelize.define('Ips', {
    // 主键ID
    id: {
      type: DataTypes.INTEGER,
      field: 'id',
      primaryKey: true
    },
    // 是否删除
    mark: {
      type: DataTypes.INTEGER,
      field: 'mark',
    },
    // 资源名称
    ips_name: {
      type: DataTypes.STRING,
      field: 'ips_name'
    },
    // IP资源池地址
    SERVER_URL: {
      type: DataTypes.STRING,
      field: 'SERVER_URL'
    }
  }, {
    tableName: 't_ip_url',
    timestamps: false
  });

  return Ips;
}